<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
 "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商品信息管理系统</title>
</head>
<body>
	<table border="1" align="center" width="600">
		<caption style="font-size: 32pt">商品信息列表</caption>
		<tr>
			<th>商品编号</th>
			<th>名称</th>
			<th>属性</th>
			<th>价格</th>
			<th>数量</th>
			<th>操作</th>
		</tr>

		<c:forEach items="${goodslist }" var="goo">
			<tr>
				<td>${goo.goodid }</td>
				<td>${goo.goodname }</td>
				<td>${goo.goodproperty }</td>
				<td>${goo.goodprice }</td>
				<td>${goo.goodqty }</td>
				<td><a href="Ctrl?action=edit&goodid=${goo.goodid}">编辑</a> <a
					href="Ctrl?action=delete&goodid=${goo.goodid}">删除</a></td>
			</tr>
		</c:forEach>

	</table>
	<h1 align="center">
		<a href="./edit.jsp">添加商品信息</a>
	</h1>
</body>
</html>